package com.xiaojie.persistence.core.entity;

/**
 * @author Nick
 * @date 2021/5/5
 * @description 参数映射对象
 */
public class ParameterMapping {


    /**
     * 参数对应的位置(相对sql语句中),从1开始
     */
    private Integer index;

    /**
     * 对应的参数名(字段)
     */
    private String parameterName;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getParameterName() {
        return parameterName;
    }

    public void setParameterName(String parameterName) {
        this.parameterName = parameterName;
    }
}
